<template>
    <el-tree
            :data="data"
            :props="defaultProps"
            @node-click="handleNodeClick"
    >

    </el-tree>
</template>

<script>
    export default {
        name: "SelectTree",
        props:{
            data:{
                type:Array,
                required:[]
            },
            defaultProps:{
                type:Object,
                required:{}
            },

        }
    }
</script>

<style scoped>

</style>